
#ifndef  VIDEOTHEQUE_FILE_JMANIP_H
# define VIDEOTHEQUE_FILE_JMANIP_H



# include <string.h>
# include <sys/types.h>
# include <stdio.h>
# include <stdlib.h>
# include "const.h"
# include <stdio.h>
# include <stdlib.h>
# include <unistd.h>
# include <sys/select.h>
# include "log.h"

# include "argSeparation.h"

char**  choseFile(char*** fileList,int sizelist,int (*isValid)(char*** fileList,int sizeL,char* file));

int askListToServer(FILE* stream,char*** retstring,int* retnum);

int askClientListToServer(FILE* streamread,FILE* streamwrite,char*** retstring,int* retnum);

int sendOperation(FILE* fin,FILE* fout,int OP,char* file);

int waitAnswerFromServer(FILE* fin);

#endif /*VIDEOTHEQUE_FILE_MANIP_H*/
